set curDir=%~dp0

..\qemu-system-aarch64 -m 8192 -cpu cortex-a72 -smp 8,sockets=4,cores=2 -M virt -bios %curDir%QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=%curDir%u2004.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -device usb-kbd -drive if=none,file=%curDir%u2004-1.qcow2,id=hd1 -device virtio-blk-device,drive=hd1 -device virtio-scsi-device -net nic -net user,hostfwd=tcp::2222-:22
REM ..\qemu-system-aarch64 -m 8192 -cpu cortex-a72 -smp 8,sockets=4,cores=2 -M virt -bios %curDir%QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=%curDir%u2004.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=E:\soft\ubuntu-20.04.5-live-server-arm64.iso,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -net nic -net user,hostfwd=tcp::2222-:22
